﻿namespace My.Hydrator.Formatters
{
    using System.ComponentModel.Composition;
    using System.ComponentModel.DataAnnotations;

    [Export(typeof(IDataTypeFormatter))]
    public class DateDataTypeFormatter : DateTimeDataTypeFormatter
    {
        public override DataTypeAttribute FormatterDataType
        {
            get
            {
                return new DataTypeAttribute(DataType.Date);
            }
        }

        public override object GetFormat()
        {
            return base.GetFormat();
        }
    }
}
